package com.cskaoyan.mall.mapper;

import com.cskaoyan.mall.bean.Configuration;
import com.cskaoyan.mall.bean.MapBean;
import com.cskaoyan.mall.bean.bo.MallConfigBO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ConfigurationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Configuration record);

    int insertSelective(Configuration record);

    Configuration selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Configuration record);

    int updateByPrimaryKey(Configuration record);

    List<MapBean> getInfoByConfigClass(@Param("configName") String configName);

    int updateConfigInfo(@Param("bean") MapBean bean);

}